<template>
    <div style="display: flex;flex-direction: column">
        <i class="el-icon-document" style="margin-bottom: 10px">选择导出格式</i>
        <el-radio-group v-model="radio" style="margin-bottom: 10px">
            <el-radio-button label="png"></el-radio-button>
            <el-radio-button label="jpeg"></el-radio-button>
        </el-radio-group>
        <el-button type="primary" @click="handle">导出</el-button>
    </div>
</template>

<script>
    export default {
        name: "Export",
        data:function () {
            return{
                radio:'',
            }
        },
        methods:{
            handle:function () {
                this.$emit('export',this.radio)
            }
        }
    }
</script>

<style scoped>

</style>
